package com.ruoyi.production.service;

import com.ruoyi.production.domain.WorkReportComponents;

import java.util.List;

/**
 * 生产绩效Service接口
 *
 * @author ruoyi
 * @date 2022-09-05
 */
public interface IWorkReportComponentsService {
    /**
     * 查询生产绩效
     *
     * @param id 生产绩效主键
     * @return 生产绩效
     */
    public WorkReportComponents selectWorkReportComponentsById(Long id);

    /**
     * 查询生产绩效列表
     *
     * @param workReportComponents 生产绩效
     * @return 生产绩效集合
     */
    public List<WorkReportComponents> selectWorkReportComponentsList(WorkReportComponents workReportComponents);

    /**
     * 新增生产绩效
     *
     * @param workReportComponents 生产绩效
     * @return 结果
     */
    public int insertWorkReportComponents(WorkReportComponents workReportComponents);

    /**
     * 修改生产绩效
     *
     * @param workReportComponents 生产绩效
     * @return 结果
     */
    public int updateWorkReportComponents(WorkReportComponents workReportComponents);

    /**
     * 批量删除生产绩效
     *
     * @param ids 需要删除的生产绩效主键集合
     * @return 结果
     */
    public int deleteWorkReportComponentsByIds(Long[] ids);

    /**
     * 删除生产绩效信息
     *
     * @param id 生产绩效主键
     * @return 结果
     */
    public int deleteWorkReportComponentsById(Long id);
}
